/**
 * 
 */
package com.google.code.sip.ucenter.model;

/**
 * 性别枚举
 * 
 * @author Liuye
 * 
 */
public enum CreditRuleCycleType {
	One("One"), NotLimit("NotLimit"), EveryDay("EveryDay");
	private String value;

	CreditRuleCycleType(String value) {
		this.value = value;
	}

	@Override
	public String toString() {
		return value;
	}

	public String getComment() {
		if ("One".equals(value)) {
			return "一次";
		}
		if ("EveryDay".equals(value)) {
			return "每天";
		}
		if ("NotLimit".equals(value)) {
			return "不限";
		}
		return null;
	}
}
